﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartProduction.Domain.客户管理.WorkOrder
{
    /// <summary>
    /// 基础信息
    /// </summary>
    public class work_Invoice
    {
        [Key]
        /// <summary>
        /// 开票id
        /// </summary>
        public int work_InvoiceId { get; set; }

        /// <summary>
        /// 开票单号
        /// </summary>
        public string InvoiceCode { get; set; } 

        /// <summary>
        /// 开票主题
        /// </summary>
        public string  SystemTitle { get; set; }

        /// <summary>
        /// 发票类型
        /// </summary>
        public string InvoiceType { get; set; }

        /// <summary>
        /// 开票日期
        /// </summary>
        public DateTime InvoiceDate { get; set; }

        /// <summary>
        /// 销售订单
        /// </summary>
        public string SalesOrderBinding { get; set; } = "不绑定销售订单";

        /// <summary>
        /// 发票号
        /// </summary>
        public string InvoiceNumber { get; set; }

        /// <summary>
        /// 开票方
        /// </summary>
        public string Recipient { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }


        /// <summary>
        /// 开票总金额
        /// </summary>
        public decimal TotalAmount { get; set; } // 开票总金额

    }
}
